<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/">
    <title>Title</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
    <!--=======================路径导航=========================-->
    <ol class="breadcrumb">
        <li>主页</li>
        <li>员工管理</li>
        <li class="active">部门修改</li>
    </ol>
    <!--=======================路径导航.end=========================-->
    <!--=======================修改表单=========================-->
    <div class="panel-body" style="text-align: center;">
        <h2>部门修改</h2>
        <form action="dept/update" method="post" style="width: 350px;margin: 0 auto;">
            <input type="hidden" name="deptno" value="${dept.deptno}">
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon">部门名称</div>
                    <input type="text" name="dname" class="form-control" value="${dept.dname}">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon">部门位置</div>
                    <input type="text" name="loc" class="form-control" value="${dept.loc}">
                </div>
            </div>
            <div class="form-group" style="text-align: right;">
                <button type="submit" class="btn btn-primary">确定</button>
                <a href="dept/list" class="btn btn-default">取消</a>
            </div>
        </form>
    </div>
    <!--=======================新增表单.end=========================-->

</body>
</html>
